Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update refresh health query #1027

Merged
merged 2 commits into from
Mar 5, 2024
Merged

Update refresh health query #1027

merged 2 commits into from
Mar 5, 2024

Conversation

peterjan
Copy link
Member

@peterjan peterjan commented Mar 4, 2024

I noticed on our integrity node an object wasn't properly getting its health refreshed. After digging in a bit I found we are currently setting the health of an object to be the MIN slab health across all objects. Arequipa has a good example, currently all files are at 50% health... I have yet to performance test this change, I know the change that essentially broke the query was performance oriented, so perhaps we should/could deploy this on arequipa and see the effect it has there. I added a unit test for RefreshHealth too.

@peterjan peterjan marked this pull request as draft March 4, 2024 15:45
@peterjan peterjan self-assigned this Mar 4, 2024
@peterjan peterjan marked this pull request as ready for review March 5, 2024 08:51
@peterjan peterjan added the bug Something isn't working label Mar 5, 2024
Copy link
Member

@ChrisSchinnerl ChrisSchinnerl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code looks good to me. Let's see how it performs on Arequipa before merging it.

@ChrisSchinnerl ChrisSchinnerl merged commit b3ca95d into dev Mar 5, 2024
8 checks passed
@ChrisSchinnerl ChrisSchinnerl deleted the pj/fix-refresh-health branch March 5, 2024 11:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants